Component({
  properties: {
    btnShow: {
      type: Boolean,
      value: false
    },
    show: {
      type: Boolean,
      value: false
    },
    data: {
      type: Object,
      value: {}
    }
  },

  data: {

  },

  methods: {
    writeOff() {
      this.triggerEvent('writeOff');
    },
    hide() {
      this.triggerEvent('hide');
    }
  }
})